﻿namespace SoftEtherApi.Containers
{
    public enum SoftEtherError
    {
        NoError = 0,
        ConnectFailed = 1,
        ServerIsNotVpn = 2,
        Disconnected = 3,
        ProtocolError = 4,
        ClientIsNotVpn = 5,
        UserCancel = 6,
        AuthtypeNotSupported = 7,
        HubNotFound = 8,
        AuthFailed = 9,
        HubStopping = 10,
        SessionRemoved = 11,
        AccessDenied = 12,
        SessionTimeout = 13,
        InvalidProtocol = 14,
        TooManyConnection = 15,
        HubIsBusy = 16,
        ProxyConnectFailed = 17,
        ProxyError = 18,
        ProxyAuthFailed = 19,
        TooManyUserSession = 20,
        LicenseError = 21,
        DeviceDriverError = 22,
        InternalError = 23,
        SecureDeviceOpenFailed = 24,
        SecurePinLoginFailed = 25,
        SecureNoCert = 26,
        SecureNoPrivateKey = 27,
        SecureCantWrite = 28,
        ObjectNotFound = 29,
        VlanAlreadyExists = 30,
        VlanInstallError = 31,
        VlanInvalidName = 32,
        NotSupported = 33,
        AccountAlreadyExists = 34,
        AccountActive = 35,
        AccountNotFound = 36,
        AccountInactive = 37,
        InvalidParameter = 38,
        SecureDeviceError = 39,
        NoSecureDeviceSpecified = 40,
        VlanIsUsed = 41,
        VlanForAccountNotFound = 42,
        VlanForAccountUsed = 43,
        VlanForAccountDisabled = 44,
        InvalidValue = 45,
        NotFarmController = 46,
        TryingToConnect = 47,
        ConnectToFarmController = 48,
        CouldNotHostHubOnFarm = 49,
        FarmMemberHubAdmin = 50,
        NullPasswordLocalOnly = 51,
        NotEnoughRight = 52,
        ListenerNotFound = 53,
        ListenerAlreadyExists = 54,
        NotFarmMember = 55,
        CipherNotSupported = 56,
        HubAlreadyExists = 57,
        TooManyHubs = 58,
        LinkAlreadyExists = 59,
        LinkCantCreateOnFarm = 60,
        LinkIsOffline = 61,
        TooManyAccessList = 62,
        TooManyUser = 63,
        TooManyGroup = 64,
        GroupNotFound = 65,
        UserAlreadyExists = 66,
        GroupAlreadyExists = 67,
        UserAuthtypeNotPassword = 68,
        OldPasswordWrong = 69,
        LinkCantDisconnect = 73,
        AccountNotPresent = 74,
        AlreadyOnline = 75,
        Offline = 76,
        NotRsa1024 = 77,
        SnatCantDisconnect = 78,
        SnatNeedStandalone = 79,
        SnatNotRunning = 80,
        SeVpnBlock = 81,
        BridgeCantDisconnect = 82,
        LocalBridgeStopping = 83,
        LocalBridgeUnsupported = 84,
        CertNotTrusted = 85,
        ProductCodeInvalid = 86,
        VersionInvalid = 87,
        CaptureDeviceAddError = 88,
        VpnCodeInvalid = 89,
        CaptureNotFound = 90,
        Layer3CantDisconnect = 91,
        Layer3SwExists = 92,
        Layer3SwNotFound = 93,
        InvalidName = 94,
        Layer3IfAddFailed = 95,
        Layer3IfDelFailed = 96,
        Layer3IfExists = 97,
        Layer3TableAddFailed = 98,
        Layer3TableDelFailed = 99,
        Layer3TableExists = 100,
        BadClock = 101,
        Layer3CantStartSwitch = 102,
        ClientLicenseNotEnough = 103,
        BridgeLicenseNotEnough = 104,
        ServerCantAccept = 105,
        ServerCertExpires = 106,
        MonitorModeDenied = 107,
        BridgeModeDenied = 108,
        IpAddressDenied = 109,
        TooMantItems = 110,
        MemoryNotEnough = 111,
        ObjectExists = 112,
        Fatal = 113,
        ServerLicenseFailed = 114,
        ServerInternetFailed = 115,
        ClientLicenseFailed = 116,
        BadCommandOrParam = 117,
        InvalidLicenseKey = 118,
        NoVpnServerLicense = 119,
        NoVpnClusterLicense = 120,
        NotAdminpackServer = 121,
        NotAdminpackServerNet = 122,
        BetaExpires = 123,
        BrandedCToS = 124,
        BrandedCFromS = 125,
        AutoDisconnected = 126,
        ClientIdRequired = 127,
        TooManyUsersCreated = 128,
        SubscriptionIsOlder = 129,
        IllegalTrialVersion = 130,
        NatTTwoOrMore = 131,
        DuplicateDdnsKey = 132,
        DdnsHostnameExists = 133,
        DdnsHostnameInvalidChar = 134,
        DdnsHostnameTooLong = 135,
        DdnsHostnameIsEmpty = 136,
        DdnsHostnameTooShort = 137,
        Mschap2PasswordNeedReset = 138,
        DdnsDisconnected = 139,
        SpecialListenerIcmpError = 140,
        SpecialListenerDnsError = 141,
        OpenvpnIsNotEnabled = 142,
        NotSupportedAuthOnOpensource = 143,
        Vpngate = 144,
        VpngateClient = 145,
        VpngateInclientCantStop = 146,
        NotSupportedFunctionOnOpensource = 147
    }
}